<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<script type="text/javascript">
			/**
 * Created by wuyq on 2017/11/9.
 */
function explorerSupport() {
    var oldestVersion = 45;
    var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
    var isOpera = userAgent.indexOf("Opera") > -1; //判断是否Opera浏览器
    var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1 && !isOpera; //判断是否IE浏览器
    var isEdge = userAgent.indexOf("Windows NT 6.1; Trident/7.0;") > -1 && !isIE; //判断是否IE的Edge浏览器
    var isFF = userAgent.indexOf("Firefox") > -1; //判断是否Firefox浏览器
    var isSafari = userAgent.indexOf("Safari") > -1 && userAgent.indexOf("Chrome") == -1; //判断是否Safari浏览器
    var isChrome = userAgent.indexOf("Chrome") > -1 && userAgent.indexOf("Safari") > -1; //判断Chrome浏览器
    if (isChrome){
        var regStr_chrome = /chrome\/[\d.]+/gi ;
        var array = userAgent.match(regStr_chrome)[0].split("/",2);
        var version = array[1].split(".")[0];
        if (version < oldestVersion){
            return false;
        }
        return true;
    }else if (isFF){
        var regStr_ff = /firefox\/[\d.]+/gi;
        var array = userAgent.match(regStr_ff)[0].split("/",2);
        var version = array[1].split(".")[0];
        if (version < oldestVersion){
            return false;
        }
        return true;
    } else if(isEdge || isSafari) {
        return true;
    }else {
        return false;
    }
}
		 $(document).ready(function() {
            if( !explorerSupport() ) {
                //这个浏览器不支持，跳转到浏览器下载页面
                window.location.href = "/error/explorer_not_support.html?url="+encodeURIComponent(window.location.href);
            }
        });
		</script>
	</head>
	<body>
		zdsfas
	</body>
</html>
